import request from '@/utils/request'

export function login(loginDto) {
    return request({
        url: '/security/login',
        method: 'post',
        data:loginDto
    })
}

export function register(registerParam) {
    return request({
        url: '/security/register',
        method: 'post',
        data:registerParam
    })
}